#!/bin/bash
#
# Twimight Server Installation
#
# Author    Raphael Seebacher <raphasee@ee.ethz.ch>
# Version   0.1

TDS="Twimight Server"
REQUIRED_PACKAGE="lighttpd openssl mysql-server mysql-client mysql-common php5 php5-curl php5-mysql php5-cgi php5-cli"

echo    "+---------------------------------------------------+"
echo -e "| Welcome to \033[1m$TDS Installation\033[0m. |"
echo    "+---------------------------------------------------+"

# verify that the script is being run as root
echo -n 'Verifying that you are root: '
if [[ $EUID -ne 0 ]]; then
    echo -e "\033[1m\033[31mFailed!\033[0m Aborting installation!" 1>&2
    exit 1
fi
echo 'Ok.'

php setup.php